<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
   
    <script>
         // Person.prototype.prototypr ==
         person.prototype
        function Person() {
            // var this = {
            //     _proto_:Person.prototype
            // }
            // return this
        }
        var person = new Person()
        // console.log(person._proto_); //{}是由 Person() 创建的

        var obj = {
            name:'wn'
        }

        // console.log(person._proto_); // 蜗牛
        person._proto_ = obj
        console.log(person._proto_);


    </script>
    <script>
        // 注意
        Person.prototype.name = '佳俊'
        function Person() {

        }
        // Person.prototype = {
        //     name:'帅帅'
        // }
        var  person = new Person()
        Person.prototype.name = '帅帅'

       
        console.log(person.name);
    </script>
</body>
</html>